<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>预约表查询</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css">

</head>
<body>
<h1>预约表查询结果</h1>
<a href="adminHome.html" class="back-btn">返回管理员首页</a>
<table>
    <tr>
        <th>预约ID</th>
        <th>会员ID</th>
        <th>项目ID</th>
        <th>预约时间</th>
        <th>预约状态</th>
    </tr>
    <c:forEach items="${reservationList}" var="reservation">
        <tr>
            <td>${reservation.reservationId}</td>
            <td>${reservation.memberId}</td>
            <td>${reservation.projectId}</td>
            <td>${reservation.reservationTime}</td>
            <td>${reservation.status}</td>
        </tr>
    </c:forEach>

</table>
</body>
</html>